package com.lib.model.dto;

import java.io.Serializable;

public class AnswerDto implements Serializable {

/*
	CREATE TABLE questionboard
	(
		questionboard_num  NUMBER(10)  NOT NULL ,
		title  VARCHAR2(100)  NULL ,
		contents  VARCHAR2(2000)  NULL ,
		question_date  DATE  NULL ,
		count  NUMBER(5)  NULL ,
		id  VARCHAR2(100)  NOT NULL ,
		ref  NUMBER(5)  NULL ,
		step  NUMBER(2)  NULL ,
		parent  NUMBER(5)  NULL ,
		password  VARCHAR2(100)  NULL 
	);
*/	
	private int questionboard_num;
	private String title;
	private String contents;
	private String question_date;
	private int count; 
	private String id;
	private int ref;
	private int step;
	private int parent;
	private int depth;
	private String password;
	private String delflag;
	
	public AnswerDto() {}
	
	public AnswerDto(int questionboardNum, String title, String contents,
			String questionDate, int count, String id, int ref, int step,
			int parent, String password, String delflag,int depth) {
		this.questionboard_num = questionboardNum;
		this.title = title;
		this.contents = contents;
		this.question_date = questionDate;
		this.count = count;
		this.id = id;
		this.ref = ref;
		this.step = step;
		this.parent = parent;
		this.password = password;
		this.delflag = delflag;
		this.depth = depth;
	}
	public int getQuestionboard_num() {
		return questionboard_num;
	}
	public void setQuestionboard_num(int questionboardNum) {
		questionboard_num = questionboardNum;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public String getQuestion_date() {
		return question_date;
	}
	public void setQuestion_date(String questionDate) {
		question_date = questionDate;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	public int getParent() {
		return parent;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDelflag() {
		return delflag;
	}
	public void setDelflag(String delflag) {
		this.delflag = delflag;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}
}
